<template>
  <el-container>
    <el-button type="infp" @click="logout">退出</el-button>
    <!-- 头部区 -->
  <el-header>Header</el-header>
  <!-- 主体区 -->
  <el-container>
    <!-- 侧边栏 -->
    <el-aside width="200px"></el-aside>
    <!-- 右侧内容主体 -->
    <el-main></el-main>
  </el-container>
</el-container>

</template>

<script>

// @ is an alias to /src
import HelloWorld from '@/components/HelloWorld.vue'

export default {
  methods:{
    logout(){
      window.sessionStorage.clear
      this.$router.push('/login');
    }
  }
};
</script>

<style lang="stylus" scoped>

</style>
